package tung.niit.ict.model;

import android.graphics.Bitmap;

public class LendedBook {

	private Bitmap bookPic;
	private String nameBook;
	private String idBook;
	private String authorBook;
	private String yearBook;
	private String tiencuocBook;
	private String duongdanBook;
	
	public LendedBook() {
		super();
	}

	public LendedBook(Bitmap bookPic, String nameBook, String idBook,
			String authorBook, String yearBook, String tiencuocBook) {
		super();
		this.bookPic = bookPic;
		this.nameBook = nameBook;
		this.idBook = idBook;
		this.authorBook = authorBook;
		this.yearBook = yearBook;
		this.tiencuocBook = tiencuocBook;
	}

	
	
	public LendedBook(Bitmap bookPic, String nameBook, String idBook,
			String authorBook, String yearBook, String tiencuocBook,
			String duongdanBook) {
		super();
		this.bookPic = bookPic;
		this.nameBook = nameBook;
		this.idBook = idBook;
		this.authorBook = authorBook;
		this.yearBook = yearBook;
		this.tiencuocBook = tiencuocBook;
		this.duongdanBook = duongdanBook;
	}

	public Bitmap getBookPic() {
		return bookPic;
	}

	public void setBookPic(Bitmap bookPic) {
		this.bookPic = bookPic;
	}

	public String getNameBook() {
		String name = "Ten sach: ";
		return (name + nameBook);
	}

	public void setNameBook(String nameBook) {
		this.nameBook = nameBook;
	}

	public String getIdBook() {
		String id = "Id: ";
		return (id + idBook);
	}

	public void setIdBook(String idBook) {
		this.idBook = idBook;
	}

	public String getAuthorBook() {
		String author = "Tac gia: ";
		return (author + authorBook);
	}

	public void setAuthorBook(String authorBook) {
		this.authorBook = authorBook;
	}

	public String getYearBook() {
		String year = "Nam xua ban: ";
		return (year + yearBook);
	}

	public void setYearBook(String yearBook) {
		this.yearBook = yearBook;
	}

	public String getTiencuocBook() {
		String tiencuoc = "So tien cuoc: ";
		return (tiencuoc + tiencuocBook);
	}

	public void setTiencuocBook(String tiencuocBook) {
		this.tiencuocBook = tiencuocBook;
	}

	public String getDuongdanBook() {
		return duongdanBook;
	}

	public void setDuongdanBook(String duongdanBook) {
		this.duongdanBook = duongdanBook;
	}
	
	
}
